/*
 * @Author: caorui 778943319@qq.com
 * @Date: 2025-06-18 17:58:49
 * @LastEditors: caorui 778943319@qq.com
 * @LastEditTime: 2025-10-22 10:31:04
 * @FilePath: \notes\.vitepress\navigation.js
 * @Description: 
 * 
 */
export const nav = [
  { text: "Home", link: "/" },
  { text: "项目文档", link: "/Project" },
  { text: "CesiumSDK", link: "/CesiumSDK" },
  { text: "ThreeSDK", link: "/ThreeSDK" },
  {
    text: 'Blog',
    items: [
      { text: 'Vue', link: '/Blog/Vue' },
      { text: 'Three', link: '/Blog/Three' },
      { text: 'QGIS', link: '/Blog/QGIS' },
      { text: 'WebGis', link: '/Blog/WebGis' },
    ]
  }
];

export const sidebar = {
  "/CesiumSDK/": [
    {
      text: "CesiumSDK插件",
      link: '/CesiumSDK/',
      items: [
        { text: "Viewer类", link: "/CesiumSDK/Viewer" },
        { text: "Imagery图层", link: "/CesiumSDK/Imagery" },
        { text: "Entity实体", link: "/CesiumSDK/Entity" },
        { text: "Position坐标", link: "/CesiumSDK/Position" },
        { text: "Popup弹窗", link: "/CesiumSDK/Popup" },
        { text: "Draw绘制", link: "/CesiumSDK/Draw" },
        { text: "Materail材质", link: "/CesiumSDK/Materail" },
        { text: "Animation动画", link: "/CesiumSDK/Animation" },
        { text: "Roaming巡航", link: "/CesiumSDK/Roaming" },
        { text: "BaseFn公共方法", link: "/CesiumSDK/BaseFn" },
        { text: "MVT图层", link: "/CesiumSDK/MVT" },
      ],
    },
  ],
  "/Project/": [
    {
      text: "项目说明",
      link: '/Project/',
      collapsed: false,
      items: [
        { text: "项目运行前的配置", link: "/Project/setting" },
        { text: "常规规范", link: "/Project/norm" },
        { text: "添加项目子模块与打包说明", link: "/Project/module" },
        { text: "Rem配置", link: "/Project/Rem" },
        { text: "颜色主题配置", link: "/Project/Theme" },
      ],
    },
    {
      text: "工具方法",
      link: "/Project/utils/",
      collapsed: true,
      items: [
        { text: "hooks", link: "/Project/utils/hooks" },
        { text: "常用方法", link: "/Project/utils/Other" },
        { text: "自定义指令", link: "/Project/utils/directive" },
        { text: "字典", link: "/Project/utils/dict" },
        { text: "系统参数设置", link: "/Project/utils/sysParams" },
        { text: "localStorage", link: "/Project/utils/localStorage" },
        { text: "sessionStorage", link: "/Project/utils/sessionStorage" },
      ],
    },
    {
      text: "组件文档",
      link: "/Project/components/",
      collapsed: true,
      items: [
        { text: "Dialog 组件", link: "/Project/components/Dialog" },
        { text: "FlexForm 表单组件", link: "/Project/components/FlexForm" },
        { text: "boundaryGis 组件", link: "/Project/components/boundaryGis" },
        { text: "AutoRoll 自动滚动组件", link: "/Project/components/AutoRoll" },
        { text: "Empty 占位组件", link: "/Project/components/Empty" },
        { text: "Table", link: "/Project/components/Table" },
        { text: "SearchHeader", link: "/Project/components/SearchHeader" },
        { text: "Pagination", link: "/Project/components/Pagination" },
        { text: "toDetail", link: "/Project/components/toDetail" },
        { text: "VR", link: "/Project/components/vr" },
        { text: "Player", link: "/Project/components/xgplayer" },
      ],
    },
  ],

  "/ThreeSDK/": [
    {
      text: "ThreeSDK",
      link: '/ThreeSDK/',
      items: [
        { text: "Position坐标相关", link: "/ThreeSDK/Position" },
        { text: "LoadJsonMap地图", link: "/ThreeSDK/LoadJsonMap" },
        { text: "Weather天气", link: "/ThreeSDK/Weather" },
        { text: "LoadMesh", link: "/ThreeSDK/LoadMesh" },
        { text: "Animator模型动画", link: "/ThreeSDK/Animator" },
      ],
    },
  ],
  "/Blog/Three":[
    {
      text: "问题解决",
      link: '/Blog/Three/',
      collapsed: true,
      items: [
        { text: "不规则几何体重新设置UV坐标", link: "/Blog/Three/不规则几何体重新设置UV坐标" },
        { text: "曲线 Curve getPoints和getSpacedPoints方法", link: "/Blog/Three/曲线 Curve getPoints和getSpacedPoints方法" }
      ],
    }
  ],
  "/Blog/Vue":[
    {
      text: "工具相关",
      link: '/Blog/Vue/',
      collapsed: true,
      items: [
        { text: "vue3配置Eslint9+Prettier", link: "/Blog/Vue/vue3配置Eslint9+Prettier" },
      ],
    }
  ],
  "/Blog/QGIS":[
    {
      text: "QGIS地图处理",
      link: '/Blog/QGIS/',
      collapsed: true,
      items: [
        { text: "天地图在线遥感影像裁切下载", link: "/Blog/QGIS/天地图在线遥感影像裁切下载" },
        { text: "加载Tif图片并绘制自定义区域切片", link: "/Blog/QGIS/加载Tif图片并绘制自定义区域切片" },
      ],
    }
  ],
  "/Blog/WebGis":[
    {
      text: "WebGis",
      link: '/Blog/WebGis/',
      collapsed: true,
      items: [
        { text: "Cesium地形数据", link: "/Blog/WebGis/Cesium地形数据" },
        { text: "影像瓦片格式及Cesium加载瓦片方法", link: "/Blog/WebGis/影像瓦片格式及Cesium加载瓦片方法" },
      ],
    }
  ]
};
